package main

import (
	"myApp/api/v1"
	"myApp/model"
)

func main() {
	model.InitDB()
	model.InitRDB()
	defer model.RDB.Close()
	r := api.InitRouter()
	panic(r.Run(":8080"))
}
